<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>MASK</title>
  <link rel="shortcut icon" href="/images/mask-logo.png">
  <!--  图标库-->
  <link rel="stylesheet" href="/css/plugins/all.min.css">
  <!--  adminlte主页核心css-->
  <link rel="stylesheet" href="/css/plugins/adminlte.min.css">
  <!--  sideBar边栏css-->
  <link rel="stylesheet" href="/css/plugins/OverlayScrollbars.min.css">
  <!--  css自己添加的主库-->
  <link rel="stylesheet" href="/css/main.css">
</head>
<body class="hold-transition sidebar-mini layout-fixed" >
<div class="wrapper">
  <!-- Preloader -->
  <div class="preloader flex-column justify-content-center align-items-center">
    <img class="animation__shake" src="/images/AdminLTELogo.png" alt="AdminLTELogo" height="60" width="60">
  </div>

  <!-- Navbar -->
  <nav class="main-header navbar navbar-expand navbar-top-bg ">
    <!-- Left navbar links -->
    <ul class="navbar-nav">

    </ul>
    <a href="http://43.255.30.107" class="oldVersionButton btn btn-default">切换旧版</a>

    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">
      <li>
        <a href="admin/login.html" class="btn">管理员入口</a>
      </li>
      <!-- Navbar Search -->
<!--      <li class="nav-item">-->
<!--        <a class="nav-link" data-widget="navbar-search" href="#" role="button">-->
<!--          <i class="fas fa-search"></i>-->
<!--        </a>-->
<!--        <div class="navbar-search-block">-->
<!--          <form class="form-inline">-->
<!--            <div class="input-group input-group-sm">-->
<!--              <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">-->
<!--              <div class="input-group-append">-->
<!--                <button class="btn btn-navbar" type="button">-->
<!--                  <i class="fas fa-search"></i>-->
<!--                </button>-->
<!--                <button class="btn btn-navbar" type="button" data-widget="navbar-search">-->
<!--                  <i class="fas fa-times"></i>-->
<!--                </button>-->
<!--              </div>-->
<!--            </div>-->
<!--          </form>-->
<!--        </div>-->
<!--      </li>-->

      <!-- Messages Dropdown Menu -->
      <li class="nav-item dropdown">
        <a class="nav-link" data-toggle="dropdown" href="#">
          <i class="far fa-comments"></i>
          <span class="badge badge-danger navbar-badge">3</span>
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="/images/user1-128x128.jpg" alt="User Avatar" class="img-size-50 mr-3 img-circle">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  Brad Diesel
                  <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">Call me whenever you can...</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="/images/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  John Pierce
                  <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">I got your message bro</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <!-- Message Start -->
            <div class="media">
              <img src="/images/user8-128x128.jpg" alt="User Avatar" class="img-size-50 img-circle mr-3">
              <div class="media-body">
                <h3 class="dropdown-item-title">
                  Nora Silvester
                  <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
                </h3>
                <p class="text-sm">The subject goes here</p>
                <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
              </div>
            </div>
            <!-- Message End -->
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
        </div>
      </li>
      <!-- Notifications Dropdown Menu -->
      <li class="nav-item dropdown">
        <a class="nav-link" data-toggle="dropdown" href="#">
          <i class="far fa-bell"></i>
          <span class="badge badge-warning navbar-badge">15</span>
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
          <span class="dropdown-item dropdown-header">15 Notifications</span>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-envelope mr-2"></i> 4 new messages
            <span class="float-right text-muted text-sm">3 mins</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-users mr-2"></i> 8 friend requests
            <span class="float-right text-muted text-sm">12 hours</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item">
            <i class="fas fa-file mr-2"></i> 3 new reports
            <span class="float-right text-muted text-sm">2 days</span>
          </a>
          <div class="dropdown-divider"></div>
          <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
        </div>
      </li>
      <li class="nav-item">
        <a class="nav-link" data-widget="fullscreen" href="#" role="button">
          <i class="fas fa-expand-arrows-alt"></i>
        </a>
      </li>
      <li class="nav-item">
        <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
          <i class="fas fa-th-large"></i>
        </a>
      </li>
    </ul>
  </nav>
  <!-- /.navbar -->

  <!-- Main Sidebar Container -->
  <aside class="main-sidebar sidebar-dark-primary elevation-4">
    <!-- Brand Logo -->
    <a href="/" class="brand-link">
      <img src="/images/mask-logo.png" alt="主页" class="brand-image img-circle elevation-3" style="opacity: .8">
      <span class="brand-text font-weight-light">MASK &nbsp;<sub>4.0</sub></span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar">
      <!-- Sidebar user panel (optional) -->
      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="image">
          <img src="/images/notLogin.png" class="img-circle elevation-2" id="notLoginImage" alt="User Image">
        </div>
        <div class="info">
          <a href="#" class="d-block" id="login">登录/注册</a>
          <a href="#" id="alreadyLogin"></a>
          <a href="#" id="logout"></a>
        </div>
      </div>


      <!-- SidebarSearch Form -->
      <div class="form-inline">
        <div class="input-group" data-widget="sidebar-search">
          <input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
          <div class="input-group-append">
            <button class="btn btn-sidebar">
              <i class="fas fa-search fa-fw"></i>
            </button>
          </div>
        </div>
      </div>

      <!-- Sidebar Menu -->
      <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
          <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
          <li class="nav-item menu-open">
            <a href="#" class="nav-link active">
              <i class="nav-icon fas fa-tachometer-alt"></i>
              <p>
                Dashboard
                <i class="right fas fa-angle-left"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <!--              <li class="nav-item">-->
              <!--                <a href="./index.html" class="nav-link active">-->
              <!--                  <i class="far fa-circle nav-icon"></i>-->
              <!--                  <p>Dashboard v1</p>-->
              <!--                </a>-->
              <!--              </li>-->
              <li class="nav-item">
                <a href="./fileList.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>文件列表</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="./personCenter.html" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>个人中心</p>
                </a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
      <br>
<!--      个人中心-->
      <div class="div-left">
        <div>
          <span>用户名：</span><input type="text" class="form-control col-3" style="margin-left: 20px" readonly="readonly" id="pc_username">
        </div>
        <div class="div-margin-top">
          <span>昵称：</span><input type="text" class="form-control col-3" style="margin-left: 35px" readonly="readonly" id="pc_nick">
        </div>
        <div class="div-margin-top">
          <span>手机号：</span><input type="text" class="form-control col-3" style="margin-left: 20px" readonly="readonly" id="pc_phone">
        </div>
        <div class="div-margin-top">
          <span>注册时间：</span><input type="text" class="form-control col-3" style="margin-left: 5px" readonly="readonly" id="pc_time">
        </div>
        <div class="div-margin-top">
          <button type="button" class="btn btn-primary updateDetail">修改信息</button>
        </div>


      </div>

    </section>
    <!-- /.content -->
  </div>

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Control sidebar content goes here -->
  </aside>
  <!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->

<!-- jQuery -->
<script src="/js/plugins/jquery.min.js"></script>
<script src="/js/plugins/bootstrap.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="/js/plugins/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
  $.widget.bridge('uibutton', $.ui.button)
</script>
<!-- ChartJS -->
<script src="/js/plugins/Chart.min.js"></script>
<!-- Sparkline -->
<script src="/js/plugins/sparkline.js"></script>
<!-- JQVMap -->
<!-- jQuery Knob Chart -->
<script src="/js/plugins/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="/js/plugins/moment.min.js"></script>
<script src="/js/plugins/daterangepicker.js"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script src="/js/plugins/tempusdominus-bootstrap-4.min.js"></script>
<!-- Summernote -->
<script src="/js/plugins/summernote-bs4.min.js"></script>
<!-- overlayScrollbars -->
<script src="/js/plugins/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="/js/plugins/adminlte.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/js/plugins/jquery.timers-1.2.js" type="text/javascript"></script>
<script src="/js/plugins/select2.js" type="text/javascript"></script>
<script src="/js/plugins/laydate.js" type="text/javascript"></script>
<script src="/layer/layer.js" type="text/javascript"></script>
<script src="/js/plugins/angular.js" type="text/javascript"></script>
<script src="/js/plugins/jquery.pagination.js" type="text/javascript"></script>
<script src="/js/plugins/jquery.form.js" type="text/javascript"></script>
<script src="/js/register.js" type="text/javascript"></script>
<script src="/js/login.js" type="text/javascript"></script>
<script src="/js/fileList.js" type="text/javascript"></script>
<script src="/js/personCenter.js" type="text/javascript"></script>

<!--用户修改模态框-->
<div class="modal fade modal_position" id="consumerUpdateModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" style="margin-top: 40px;">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <img src="/images/mask-logo.png">
        <span class="modal-title modal-font-span">用户修改信息</span>
        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <!--        用户修改信息input账户名-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-user"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="register_username" readonly="readonly" placeholder="此账户名用做登录">
          <p class="message-p" id="message_register_username"></p>
        </div>
        <!--        用户修改信息input密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" id="register_password" placeholder="密码含字母数字8位组合" onKeyUp=pwStrength(this.value); onBlur=pwStrength(this.value)>
          <p class="message-p" id="message_register_password"></p>
          <!--          <span>密码强度</span>-->
          <table class="password-table" id="password_strong_level">
            <tr align="center" bgcolor="#f5f5f5" style="height:10px">
              <td id="strength_L" style="height: 10px">
                <span class="password-span">弱</span>
              </td>
              <td id="strength_M">
                <span class="password-span">中</span>
              </td>
              <td id="strength_H">
                <span class="password-span">强</span>
              </td>
            </tr>
          </table>
        </div>

        <!--        用户修改信息input确认密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" placeholder="两次密码请确认一致" id="register_confirm_password">
          <p class="message-p" id="message_register_confirm_password"></p>
        </div>
        <!--        用户修改信息input昵称-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-smile"></i></span>
          </div>
          <input type="text" class="form-control col-6" placeholder="请输入账户昵称" id="pc_update_nick">
          <p class="message-p" id="message_pc_nick"></p>
        </div>
        <!--        用户修改信息input手机号-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-phone"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="pc_update_phone" placeholder="请输入手机号">
          <p class="message-p" id="message_pc_phone"></p>
        </div>
        <!--        用户修改信息手机验证码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-envelope"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="short_message_input" placeholder="6位数字验证码">
          <button type="button" class="btn btn-confirm btn-control phone-in-input" onclick="getPersonPhoneMessage()">发送验证码</button>
          <p class="message-p" id="message_register_short"></p>
          <p class="message-p-success" id="message_register_short_success"></p>
        </div>

      </div>
      <div class="modal-footer">
        <button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
        <button class="btn btn-primary" onclick="updatePersonDetail()">更新</button>
      </div>
    </div>
  </div>
</div>

<!--用户修改密码模态框-->
<div class="modal fade modal_position" id="foreignPasswordModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" style="margin-top: 40px;">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <img src="/images/mask-logo.png">
        <span class="modal-title modal-font-span">用户修改密码</span>
        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <!--        用户修改密码input账户名-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-user"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="foreign_username" placeholder="请输入账户名">
          <p class="message-p" id="message_foreign_username"></p>
        </div>
        <!--        用户修改密码input密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" id="foreign_password" placeholder="密码含字母数字8位组合" onKeyUp=pwStrengthForeign(this.value); onBlur=pwStrengthForeign(this.value)>
          <p class="message-p" id="message_foreign_password"></p>
          <!--          <span>密码强度</span>-->
          <table class="password-table" id="foreign_password_strong_level">
            <tr align="center" bgcolor="#f5f5f5" style="height:10px">
              <td id="foreign_strength_L" style="height: 10px">
                <span class="password-span">弱</span>
              </td>
              <td id="foreign_strength_M">
                <span class="password-span">中</span>
              </td>
              <td id="foreign_strength_H">
                <span class="password-span">强</span>
              </td>
            </tr>
          </table>
        </div>

        <!--        用户修改密码input确认密码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-lock"></i></span>
          </div>
          <input type="password" class="form-control col-6" placeholder="两次密码请确认一致" id="foreign_confirm_password">
          <p class="message-p" id="message_foreign_confirm_password"></p>
        </div>

        <!--        用户修改密码input手机号-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-phone"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="foreign_phone" placeholder="请输入手机号">
          <p class="message-p" id="message_foreign_phone"></p>
        </div>
        <!--        用户修改密码手机验证码-->
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <span class="input-group-text"><i class="fas fa-envelope"></i></span>
          </div>
          <input type="text" class="form-control col-6" id="foreign_short_message_input" placeholder="6位数字验证码">
          <button type="button" class="btn btn-confirm btn-control foreign-phone-in-input" onclick="getPhoneMessageForeign()">发送验证码</button>
          <p class="message-p" id="foreign_message_short"></p>
          <p class="message-p-success" id="foreign_message_short_success"></p>
        </div>

      </div>
      <div class="modal-footer">
        <button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
        <button class="btn btn-primary" onclick="updatePersonPassword()">更新密码</button>
      </div>
    </div>
  </div>
</div>

</body>
</html>
